<jsp:directive.include file="/WEB-INF/jsp/includes.jsp" />
<jsp:directive.include file="/WEB-INF/jsp/header.jsp" />

<%@ page import="net.tanesha.recaptcha.ReCaptcha"%>
<%@ page import="net.tanesha.recaptcha.ReCaptchaFactory"%>
<%@ page import="net.tanesha.recaptcha.ReCaptchaResponse"%>

<form:form action="${pageContext.request.contextPath}/validate.html" method="POST">
	<table align="center">
		<tr align="center">
			<td colspan="2">${requestScope.reCaptchaHtml}</td>
		</tr>


		<c:if test="${!requestScope.valid}">
			<tr align="center">
				<td colspan="2">
				<div class="errors">${requestScope.TextError}</div>
				</td>
			</tr>
		</c:if>

		<c:if test="${requestScope.valid}">
			<tr align="center">
				<td>
				<button id="registrar" dojoType="dijit.form.Button" type="button"
					onclick="dijit.byId('registro').show()">Registrar Nueva <br>
				Lista de Pasajeros</button>
				</td>
				<td align="center">
				<button id="modificar" dojoType="dijit.form.Button" type="button"
					onclick="dijit.byId('modifica').show()">Modificar <br>
				Lista de Pasajeros</button>
				</td>
			</tr>
		</c:if>
	</table>
</form:form>

<%@ include file="/WEB-INF/jsp/footer.jsp"%>

